package cn.tedu.bootdemo.mapper;

import cn.tedu.bootdemo.entity.Admin;
import cn.tedu.bootdemo.vo.AdminLoginVO;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminMapper {

    int insert(Admin admin);

    Admin selectByUsername(String username);

    AdminLoginVO getLonginInfoByUsername(String username);
}
